<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
  <!DOCTYPE html>
  <html>

  <head>
    <meta charset="UTF-8">
    <title>注册</title>
    <script language="javascript" src="validate.js"></script>
  </head>

  <body>
    <form action="doSubmit.jsp" method="post">
      用户名: <input type="text" id="name" name="name"> （必填）<br>
      密码: <input type="password" id="password" name="password"> （必填）<br>
      确认密码: <input type="password" name="password1"> <br>
      性别:<input type="radio" name="sex1"> 男 <input type="radio" name="sex2"> 女 <br>
      爱好：
      <input name="ah" type="checkbox" value="计算机"> 计算机
      <input name="ah" type="checkbox" value="音乐"> 音乐
      <input name="ah" type="checkbox" value="体育"> 体育
      <input name="ah" type="checkbox" value="文学"> 文学 <br>
      星座：<select name="aaaa">
        <option value="b1">巨蟹</option>
        <option value="b2">摩羯</option>
        <option value="b3">天秤</option>
        <option value="b4">水瓶</option>
      </select><br>
      个人简介:<textarea rows="10" cols="30" name="cc"></textarea>
      <br>
      <br><br>
      <blockquote>
        <input type="button" value="提交" onClick="validate()" name="button1">
        <input type="reset" value="重置" name="button2">
      </blockquote>
    </form>
  </body>

  </html>